package com.jy.modules.cims.data.common.dao;

import java.util.List;
import java.util.Map;

import com.jy.modules.cims.data.common.dto.TCMmBailParamDTO;
import com.jy.platform.core.mybatis.MyBatisRepository;
/**
 * @classname: TCMmBailParamDao
 * @description: 定义  担保信息 持久层 接口
 * 通过@MapperScannerConfigurer扫描目录中的所有接口, 动态在Spring Context中生成实现.
 * 方法名称必须与Mapper.xml中保持一致.
 * @author:  JY-IT-D001
 */
@MyBatisRepository
public interface TCMmBailParamDao {
    
    /**
     * @author JY-IT-D001
     * @description: 分页查询担保信息
     * @date 2015-01-06 17:31:44
     * @param searchParams
     * @return
     */
    public List<TCMmBailParamDTO> searchTCMmBailParamByPaging(Map<String, Object> searchParams) ;
    
    /**
     * @author JY-IT-D001
     * @description:查询对象担保信息
     * @date 2015-01-06 17:31:44
     * @param searchParams
     * @return
     */
    public List<TCMmBailParamDTO> searchTCMmBailParam(Map<String,Object> searchParams);

    /**
     * @author JY-IT-D001
     * @description:查询对象担保信息
     * @date 2015-01-06 17:31:44
     * @param id
     * @return
     */
    public TCMmBailParamDTO findTCMmBailParamByPrimaryKey(String id);
    
    /**
     * @author JY-IT-D001
     * @description: 新增对象担保信息
     * @date 2015-01-06 17:31:44
     * @param paramMap
     * @return
     */
    public int insertTCMmBailParam(Map<String, Object> paramMap);
    
    /**
     * @author JY-IT-D001
     * @description: 更新对象担保信息
     * @date 2015-01-06 17:31:44
     * @param paramMap
     */
    public void updateTCMmBailParam(Map<String, Object> paramMap);
     
    /**
     * @author JY-IT-D001
     * @description: 按主键删除担保信息
     * @date 2015-01-06 17:31:44
     * @param ids
     * @return
     */ 
    public void deleteTCMmBailParamByPrimaryKey(Map<String, Object> paramMap);
    
    
}
